package com.glory.cqaospda.bean

import com.google.gson.annotations.SerializedName
import java.io.Serializable

data class MaintenanceBean (
    @SerializedName(value = "mItemList", alternate = ["ItemList", "itemlist"])
    var mItemList: List<ItemList> = ArrayList()
): Serializable {
    data class ItemList(

        @SerializedName(value = "mUserName", alternate = ["UserName", "username"])
        var mUserName: String = "",
        @SerializedName(value = "mEquipmentName", alternate = ["EquipmentName", "equipmentname"])
        var mEquipmentName: String = "",
        @SerializedName(value = "mLotNo", alternate = ["LotNo", "lotno"])
        var mLotNo: String = "",
        @SerializedName(value = "mRepairsType", alternate = ["RepairsType", "repairstype"])
        var mRepairsType: String = "",
        @SerializedName(value = "mMaintenanceItem", alternate = ["MaintenanceItem", "maintenanceitem"])
        var mMaintenanceItem: String = "",
        @SerializedName(value = "mPriority", alternate = ["Priority", "priority"])
        var mPriority: String = "",
        @SerializedName(value = "mComment", alternate = ["Comment", "comment"])
        var mComment: String = "",
        @SerializedName(value = "mOrderID", alternate = ["OrderID", "orderid"])
        var mOrderID: String = "",
        @SerializedName(value = "mLongTime", alternate = ["LongTime", "longtime"])
        var mLongTime: String = "",
        @SerializedName(value = "mMaintainType", alternate = ["MaintainType", "maintaintype"])
        var mMaintainType: String = "",
        @SerializedName(value = "mGroupName", alternate = ["GroupName", "groupname"])
        var mGroupName: String = ""

    ): Serializable
}